/* @(#)testlog.c
 * Time-stamp: <2008-10-08 21:51:31 root>
 * Copyright 2008 Julian Qian
 * Author: root@localhost.localdomain
 * Version: $Id: testlog.c,v 0.0 2008/10/08 13:29:09 root Exp $
 * Keywords: 
 */


#include	<stdarg.h>		/* ANSI C header file */
#include	<syslog.h>		/* for syslog() */
#include <stdio.h>


int main(int argc, char *argv[])
{
	openlog("AAAAAAAAAAA", LOG_CONS | LOG_NDELAY | LOG_NOWAIT | LOG_PID, LOG_LOCAL0 );
	syslog(LOG_INFO, "aaaaaaaaaaaaaaaabaspdi");
	closelog();

	printf("DONE!\n");
		
    return 0;
}



